package com.complex.editejb.dao;

import javax.ejb.Remote;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: AGrankin
 * Date: 29.08.13
 * Time: 13:52
 * To change this template use File | Settings | File Templates.
 */

@Remote
public interface IEditDAOBean {

    void insertNode(int parentID, String nodeName);
    void deleteNode(List<String> attrsIDList, List<String> nodesIDList);
    void editNode(int nodeID, String newNodeName);
    void changeParent(int nodeID, int newParentID);
    void insertAttribute(int nodeID, String attrName, String attrValue);
    void deleteAttribute(int attrID);
    void editAttribute(int attrID, String newAttrName, String newAttrValue);

}
